
package system.base;

import framework.core.*;

/*
	Author    :chengbiao.he
	CreateTime:2008-02-23 14:30:58
*/
public class BalanceSearchEvent extends SearchEvent
{

	private String m_id = "" ; // all

	private String m_balance_bill_code = "" ; // all

	private String m_bill_type = "" ; // all

	private String m_bill_id = "" ; // all

	private String m_bill_code = "" ; // all

	private double m_total_money = Value.NULL_DOUBLE ; // all

	private double m_money = Value.NULL_DOUBLE ; // all

	private String m_pay_type = "" ; // all

	private String m_balance_flag = "" ; // all

	private String m_balance_user_id = "" ; // all

	private String m_balance_user = "" ; // all

	private String m_balance_time = "" ; // all

	private String m_status = "" ; // all

	private String m_create_user_id = "" ; // all

	private String m_create_user = "" ; // all

	private String m_create_time = "" ; // all

	private String m_last_update_user_id = "" ; // all

	private String m_last_update_user = "" ; // all

	private String m_last_update_time = "" ; // all

	private String m_is_sync = "" ; // all
		

public BalanceSearchEvent() 
{
	super();
	
	setOrderField(Balance.BALANCE_BILL_CODE);
		
}



	public String getId()
	{
		return m_id ;
	}
	public void setId(String v)
	{
		m_id = v;
	}

	public String getBalanceBillCode()
	{
		return m_balance_bill_code ;
	}
	public void setBalanceBillCode(String v)
	{
		m_balance_bill_code = v;
	}

	public String getBillType()
	{
		return m_bill_type ;
	}
	public void setBillType(String v)
	{
		m_bill_type = v;
	}

	public String getBillId()
	{
		return m_bill_id ;
	}
	public void setBillId(String v)
	{
		m_bill_id = v;
	}

	public String getBillCode()
	{
		return m_bill_code ;
	}
	public void setBillCode(String v)
	{
		m_bill_code = v;
	}

	public double getTotalMoney()
	{
		return m_total_money ;
	}
	public void setTotalMoney(double v)
	{
		m_total_money = v;
	}

	public double getMoney()
	{
		return m_money ;
	}
	public void setMoney(double v)
	{
		m_money = v;
	}

	public String getPayType()
	{
		return m_pay_type ;
	}
	public void setPayType(String v)
	{
		m_pay_type = v;
	}

	public String getBalanceFlag()
	{
		return m_balance_flag ;
	}
	public void setBalanceFlag(String v)
	{
		m_balance_flag = v;
	}

	public String getBalanceUserId()
	{
		return m_balance_user_id ;
	}
	public void setBalanceUserId(String v)
	{
		m_balance_user_id = v;
	}

	public String getBalanceUser()
	{
		return m_balance_user ;
	}
	public void setBalanceUser(String v)
	{
		m_balance_user = v;
	}

	public String getBalanceTime()
	{
		return m_balance_time ;
	}
	public void setBalanceTime(String v)
	{
		m_balance_time = v;
	}

	public String getStatus()
	{
		return m_status ;
	}
	public void setStatus(String v)
	{
		m_status = v;
	}

	public String getCreateUserId()
	{
		return m_create_user_id ;
	}
	public void setCreateUserId(String v)
	{
		m_create_user_id = v;
	}

	public String getCreateUser()
	{
		return m_create_user ;
	}
	public void setCreateUser(String v)
	{
		m_create_user = v;
	}

	public String getCreateTime()
	{
		return m_create_time ;
	}
	public void setCreateTime(String v)
	{
		m_create_time = v;
	}

	public String getLastUpdateUserId()
	{
		return m_last_update_user_id ;
	}
	public void setLastUpdateUserId(String v)
	{
		m_last_update_user_id = v;
	}

	public String getLastUpdateUser()
	{
		return m_last_update_user ;
	}
	public void setLastUpdateUser(String v)
	{
		m_last_update_user = v;
	}

	public String getLastUpdateTime()
	{
		return m_last_update_time ;
	}
	public void setLastUpdateTime(String v)
	{
		m_last_update_time = v;
	}

	public String getIsSync()
	{
		return m_is_sync ;
	}
	public void setIsSync(String v)
	{
		m_is_sync = v;
	}
		



	public String viewId() throws Exception
	{
		return Value.view(getId());
	}

	public String viewBalanceBillCode() throws Exception
	{
		return Value.view(getBalanceBillCode());
	}

	public String viewBillType() throws Exception
	{
		return Value.view(getBillType());
	}

	public String viewBillId() throws Exception
	{
		return Value.view(getBillId());
	}

	public String viewBillCode() throws Exception
	{
		return Value.view(getBillCode());
	}

	public String viewTotalMoney() throws Exception
	{
		return Value.view(getTotalMoney());
	}

	public String viewMoney() throws Exception
	{
		return Value.view(getMoney());
	}

	public String viewPayType() throws Exception
	{
		return Value.view(getPayType());
	}

	public String viewBalanceFlag() throws Exception
	{
		return Value.view(getBalanceFlag());
	}

	public String viewBalanceUserId() throws Exception
	{
		return Value.view(getBalanceUserId());
	}

	public String viewBalanceUser() throws Exception
	{
		return Value.view(getBalanceUser());
	}

	public String viewBalanceTime() throws Exception
	{
		return Value.view(getBalanceTime());
	}

	public String viewStatus() throws Exception
	{
		return Value.view(getStatus());
	}

	public String viewCreateUserId() throws Exception
	{
		return Value.view(getCreateUserId());
	}

	public String viewCreateUser() throws Exception
	{
		return Value.view(getCreateUser());
	}

	public String viewCreateTime() throws Exception
	{
		return Value.view(getCreateTime());
	}

	public String viewLastUpdateUserId() throws Exception
	{
		return Value.view(getLastUpdateUserId());
	}

	public String viewLastUpdateUser() throws Exception
	{
		return Value.view(getLastUpdateUser());
	}

	public String viewLastUpdateTime() throws Exception
	{
		return Value.view(getLastUpdateTime());
	}

	public String viewIsSync() throws Exception
	{
		return Value.view(getIsSync());
	}


	public Conditions toConditions() throws Exception
	{
		Conditions c = super.toConditions();

	c.add(getCondition(Balance.ID,getId()));

	c.add(getCondition(Balance.BALANCE_BILL_CODE,getBalanceBillCode()));

	c.add(getCondition(Balance.BILL_TYPE,getBillType()));

	c.add(getCondition(Balance.BILL_ID,getBillId()));

	c.add(getCondition(Balance.BILL_CODE,getBillCode()));

	c.add(getCondition(Balance.TOTAL_MONEY,getTotalMoney()));

	c.add(getCondition(Balance.MONEY,getMoney()));

	c.add(getCondition(Balance.PAY_TYPE,getPayType()));

	c.add(getCondition(Balance.BALANCE_FLAG,getBalanceFlag()));

	c.add(getCondition(Balance.BALANCE_USER_ID,getBalanceUserId()));

	c.add(getCondition(Balance.BALANCE_USER,getBalanceUser()));

	c.add(getCondition(Balance.BALANCE_TIME,getBalanceTime()));

	c.add(getCondition(Balance.STATUS,getStatus()));

	c.add(getCondition(Balance.CREATE_USER_ID,getCreateUserId()));

	c.add(getCondition(Balance.CREATE_USER,getCreateUser()));

	c.add(getCondition(Balance.CREATE_TIME,getCreateTime()));

	c.add(getCondition(Balance.LAST_UPDATE_USER_ID,getLastUpdateUserId()));

	c.add(getCondition(Balance.LAST_UPDATE_USER,getLastUpdateUser()));

	c.add(getCondition(Balance.LAST_UPDATE_TIME,getLastUpdateTime()));

	c.add(getCondition(Balance.IS_SYNC,getIsSync()));
		

			
		return c ;
	}
	
//add by chengbiao.he start

//add by chengbiao.he end
}
